package com.shrcl.engineerprocess.domain;

import com.shrct.businessprocess.organization.RCEmployee;
import com.shrct.businessprocess.organization.impl.RCEmployeeImpl;
import edu.fudan.mylang.pf.BaseDataType;
import javax.persistence.CascadeType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

public class ServiceEstimateInfo extends BaseDataType {
  public ServiceEstimateInfo() {
    super();
  }
  
  private String estInfoName;
  
  public String getEstInfoName() {
    return this.estInfoName;
  }
  
  public ServiceEstimateInfo setEstInfoName(final String estInfoName) {
    this.estInfoName = estInfoName;
    return this;			
    
  }
  
  @JoinColumn(name = "customerServiceManager_id")
  @ManyToOne(targetEntity = RCEmployeeImpl.class, cascade = { CascadeType.MERGE, CascadeType.PERSIST })
  private RCEmployee customerServiceManager;
  
  public RCEmployee getCustomerServiceManager() {
    return this.customerServiceManager;
  }
  
  public ServiceEstimateInfo setCustomerServiceManager(final RCEmployee customerServiceManager) {
    this.customerServiceManager = customerServiceManager;
    return this;			
    
  }
  
  private String tscCategory;
  
  public String getTscCategory() {
    return this.tscCategory;
  }
  
  public ServiceEstimateInfo setTscCategory(final String tscCategory) {
    this.tscCategory = tscCategory;
    return this;			
    
  }
  
  public static ServiceEstimateInfo create() {
    return new ServiceEstimateInfo();
    
    
  }
}
